/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.seari.service;

import com.seari.bean.User;
import com.seari.dto.CheckAuthRequest;
import com.seari.dto.CheckAuthResponse;
import com.seari.pojo.QueryUser;
import java.util.List;
import java.util.Map;

/**
 *
 * @author Rainbow
 */
public interface UserService
{
    public User getUserByLogin(String username,String password,String stationName);
    public Map<String,String> getUserById(Map<String,String> param);
    public List<User> getUserByParams(QueryUser qu);
    public int addUser(User user);
    public int updateUser(User user);
    public int checkUserExist(QueryUser qu);
    public int deleteUser(int uid);
    public int getUserListCount(QueryUser qu);
	public CheckAuthResponse validToken(CheckAuthRequest checkAuthRequest);
	public Map<String, Object> getUserByToken(String token);
}
